package com.jk.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jk.pojo.InhabitantBean;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface InhabitantDao extends BaseMapper<InhabitantBean> {
    /**
     * @Author: binzi
     * @Description:查询当前时间的前七点数据
     * @Date: 2022/10/17 19:57
     * @Return: java.util.Map
     **/
    List<Integer> findInhabitantByWeek();

    /**
     * @Author: binzi
     * @Description:查询各种病的总数
     * @Date: 2022/10/18 9:44
     * @Return: java.util.Map
     **/
    List<Integer> findInhabitantByResidentLabelCount();

    /**
     * @Author: binzi
     * @Description:居民总数量
     * @Date: 2022/10/18 10:01
     * @Return: java.util.Map
     **/
    Integer findByCountId();

    /**
     * @Author: binzi
     * @Description:签约居民数量
     * @Date: 2022/10/18 10:10
     * @Return: java.util.Map
     **/
    Integer findByStatusCount();

    List<Integer> findInhabitantByDateCount();

    List<Integer> findInhabitantByDateCount2();

    List<Integer> findInhabitantByDateCount3();
}
